import { BASE_URL } from './config'
// 文件上传
export const upload = params => axios.post(BASE_URL + 'file/upload', params)

// 切片上传
export const uploadChunks = params => axios.post(BASE_URL + 'file/upload_chunks', params)

// 文件合并
export const mergeChunks = params => axios.post(BASE_URL + 'file/merge_chunks', params)

// 验证切片
export const verifyChunk = params => axios.post(BASE_URL + 'file/verify_chunk', params)
